<?php
/**
 * Zikula Application Framework
 * @copyright (c) 2002, Zikula Development Team
 * @link http://www.zikula.org
 * @version $Id: admin.php 24342 2008-06-06 12:03:14Z markwest $
 * @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html
 * @package Zikula_System_Modules
 * @subpackage Permissions
*/

// general
define('_PERMISSIONS','Permissions');
define('_PERMISSIONS_COMPONENT','Component');
define('_PERMISSIONS_INSTANCE','Instance');

// singular/plural
define('_PERMISSIONS_PERMISSION', 'Permission Rule');
define('_PERMISSIONS_PERMISSION_LC', 'permission rule');
define('_PERMISSIONS_PERMISSIONS', 'Permission Rules');

// links
define('_PERMISSIONS_MODIFYPERMISSION', 'Modify permission');
define('_PERMISSIONS_CREATEPERMISSION', 'Create permission');
define('_PERMISSIONS_VIEWPERMISSIONS', 'View permissions');
define('_PERMISSIONS_DELETEPERMISSION', 'Delete permission');
define('_PERMISSIONS_CONFIRMDELETE', 'Do you really want to delete this permission?');

// view template
define('_PERMISSIONS_APPEND', 'Append a new permission rule');
define('_PERMISSIONS_BEFOREALTTEXT','Insert permission rule before');
define('_PERMISSIONS_CHECK', 'Check permission');
define('_PERMISSIONS_CHECKCOMPONENT', 'Component to check');
define('_PERMISSIONS_CHECKINSTANCE', 'Instance to check');
define('_PERMISSIONS_CHECKLEVEL', 'Access level');
define('_PERMISSIONS_CHECKPERMISSIONS', 'Check a users permission');
define('_PERMISSIONS_CHECKRESULT', 'Result of permission check');
define('_PERMISSIONS_DRAGANDDROPHINT','Arrange your permissions using drag and drop. The sort order will be saved immediately.');
define('_PERMISSIONS_GROUPPERMS','Group');
define('_PERMISSIONS_LOCKADMINLOCKEDHINT','The permission rule you have defined as your main administration permission (emphasised in the list below) has been <strong>locked</strong> which means you cannot edit, move or delete it. If this permission rule is not on top of the list others may be moved around it anyway! Go to the module configuration to unlock it if necessary.');
define('_PERMISSIONS_LOCKADMINUNLOCKEDHINT','The permission rule you have defined as your main administration permission (emphasised in the list below) is <strong>unlocked</strong> which means you can now edit, move or delete it. Go to the module configuration to lock it.');
define('_PERMISSIONS_PERMISSIONLOCKED', 'This permission has been locked, modify the Permissions module configuration to unlock it');
define('_PERMISSIONS_PERMLEVEL','Permissions level');
define('_PERMISSIONS_VWFILTER','Filter');

// filter drop down
define('_PERMISSIONS_ALLGROUPS','All groups');
define('_PERMISSIONS_UNREGISTEREDGROUP','Unregistered');

// view registered permission schemas
define('_PERMISSIONS_INFO','Permissions information');
define('_PERMISSIONS_REGISTEREDCOMP','Registered component');
define('_PERMISSIONS_INSTANCETEMP','Instance template');

// listedit template
define('_PERMISSIONS_SEQUENCE','Seq.');

// modify config template
define('_PERMISSIONS_ADMINPERMISSIONID', 'ID of main administration permission');
define('_PERMISSIONS_DISPLAYWARNING','Show warning bar when in filter list');
define('_PERMISSIONS_ENABLEFILTER','Enable filtering of group permissions');
define('_PERMISSIONS_LOCKADMINPERMISSION', 'Lock main administration permission');
define('_PERMISSIONS_ROWHEIGHTVIEW','Minimum viewing row height (in pixels)');
define('_PERMISSIONS_ROWHEIGHTEDIT','Minimum editing row height (in pixels)');

// siernbar template
define('_PERMISSIONS_PARTLY','Partial view of permissions list');
define('_PERMISSIONS_SHOWING','Group: ');

// status/error messages
define('_PERMISSIONS_COMP_INPUTERR',' [Illegal input in component!] ');
define('_PERMISSIONS_DEC','Decremented permission rule');
define('_PERMISSIONS_DECERR_NOSWAP','No permission directly below that one');
define('_PERMISSIONS_DECINCERR_NOID','Error! Sorry! No such permissions ID: ');
define('_PERMISSIONS_DECINCERR_NOSWAPPART','Error! Sorry! Permission-swapping in partial view can only be done if both affected permissions are visible. Please use full view');
define('_PERMISSIONS_DELETINGPERMISSION', '...deleting permission rule...');
define('_PERMISSIONS_ERRORUPDATINGCONFIG', 'Error updating config: unknown permission id');
define('_PERMISSIONS_WARN_FILTERACTIVE','<strong>- PARTIAL VIEW -</strong>');
define('_PERMISSIONS_GRANTED', 'permission granted');
define('_PERMISSIONS_INC','Incremented permission rule');
define('_PERMISSIONS_INCERR_NOSWAP','No permission directly above that one');
define('_PERMISSIONS_INSERR','Error! Sorry! Could not update permission sequences');
define('_PERMISSIONS_INST_INPUTERR',' [Illegal input in instance!] ');
define('_PERMISSIONS_LISTNONEFOUND','Error! Sorry! No permissions of this kind were found. Please add some first');
define('_PERMISSIONS_NOTGRANTED', 'permission not granted');
define('_PERMISSIONS_TESTINGPERMISSION', '...testing permission...');
define('_PERMISSIONS_UNKNOWNUSER', 'unknown user');
define('_PERMISSIONS_UPDATINGPERMISSION', '...updating permission rule...');
define('_PERMISSIONS_VWSHOWONLY','Only show permissions applying to: ');
define('_PERMISSIONS_YOUCANNOTDELETETHEMAINADMINPERMISSION', 'Caution: You cannot delete the main admin permission rule');
